USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0015_LIMPIA_TABLAS]    Script Date: 11/23/2011 17:46:25 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[WASP_M0015_LIMPIA_TABLAS]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[WASP_M0015_LIMPIA_TABLAS]
GO

USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0015_LIMPIA_TABLAS]    Script Date: 11/23/2011 17:46:25 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


CREATE PROCEDURE [dbo].[WASP_M0015_LIMPIA_TABLAS]
AS
BEGIN
	if exists (select * from dbo.sysobjects where id = object_id(N'dbo.tipo_afiliado') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
	drop table dbo.tipo_afiliado
END

GO

